package project.dade.cn.bst.model;

import java.io.Serializable;

/**
 * Created by vain zhou on 2016/1/18.
 */
public class ShopModel implements Serializable {
    private String Id;
    private String ProductId;
    private String ProductName;
    private String ProductImage;
    private String Price;
    private String Quantity;
    private String AddTime;
    public boolean isChecked = true; // 是否选中



    public float getTotalMoney() {

        float num = Float.valueOf(Quantity);
        float sell_price = Float.valueOf(Price);
        return num * sell_price;

    }


    public boolean isChecked() {
        return isChecked;
    }

    public void setIsChecked(boolean isChecked) {
        this.isChecked = isChecked;
    }

    public String getId() {
        return Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getProductId() {
        return ProductId;
    }

    public void setProductId(String productId) {
        ProductId = productId;
    }

    public String getProductName() {
        return ProductName;
    }

    public void setProductName(String productName) {
        ProductName = productName;
    }

    public String getProductImage() {
        return ProductImage;
    }

    public void setProductImage(String productImage) {
        ProductImage = productImage;
    }

    public String getPrice() {
        return Price;
    }

    public void setPrice(String price) {
        Price = price;
    }

    public String getQuantity() {
        return Quantity;
    }

    public void setQuantity(String quantity) {
        Quantity = quantity;
    }

    public String getAddTime() {
        return AddTime;
    }

    public void setAddTime(String addTime) {
        AddTime = addTime;
    }
}
